<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>湖南大学教育阳光服务网上大厅</title>
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="../css/common2.css" rel="stylesheet">
    <link href="../css/index.css" rel="stylesheet">
</head>

<body>
    <header>
        <a href="../index.html"><img src="../img/head_title.png" alt="logo" class="logo"></a>
    </header>

    <td width="900" valign="top">
        <table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
            <tbody>
                <tr>
                    <td height="8"></td>
                    <td width="20" align="right" valign="top">
                            <img src="../img/show_ico2.jpg" width="17" height="14">
                        </td>
                        <td width="70" align="center">
                            <a href="javascript:window.print()">打印页面</a>
                        </td>
                </tr>
            </tbody>
        </table>
        <table width="900" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#999999">

            <tbody>
                <tr>
                    <td width="15%" height="25" align="left" class="bd pd lbg ltext">&nbsp;编号：</td>
                    <td id="i_id" width="35%">&nbsp;</td>
                    <td height="25" align="left" class="bd pd lbg ltext">&nbsp;办理状态：</td>
                    <td id="i_status">&nbsp;</td>    
                </tr>
                <tr>
                    <td height="25" align="left" class="bd pd lbg ltext">&nbsp;来信时间：</td>
                    <td id="i_created_date">&nbsp;</td>
                    <td height="25" align="left" class="bd pd lbg ltext">&nbsp;服务类型：</td>
                    <td id="i_type">&nbsp;</td>
                </tr>
                <tr>
                    <td width="100" height="25" align="left" class="bd pd lbg ltext">&nbsp;来信主题：</td>
                    <td id="i_title" class="bd pd" colspan="3">&nbsp;</td>
                </tr>
                <tr>
                    <td width="100" height="25" align="left" class="bd pd lbg ltext">&nbsp;来信内容：</td>
                    <td id="i_content" class="bd pd" colspan="3">&nbsp;</td>
                </tr>
            </tbody>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="6"></td>
                </tr>
            </tbody>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="12"></td>
                </tr>
            </tbody>
        </table>
        <table width="900" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#999999">

            <tbody>
                <tr>
                    <td width="15%" height="25" align="left" class="bd pd lbg ltext">&nbsp;回文单位：</td>
                    <td id="i_conductor" class="bd pd" width="35%"></td>
                    <td width="15%" height="25" align="left" class="bd pd lbg ltext">&nbsp;办理时间：</td>
                    <td id="i_response_date" class="bd pd" width="35%"></td>
                </tr>


                <tr>
                    <td width="100" align="left" class="bd pd lbg ltext">&nbsp;处理结果：</td>
                    <td id="i_response" class="bd pd" colspan="3" style="min-height:50px">
                    </td>
                </tr>
            </tbody>
        </table>
        </td>



</body>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/handlebars.js/4.0.10/handlebars.min.js"></script>
<script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<script src="../HOST.js"></script>
<script>
    var url = new URL(window.location.href);
    var t_id = url.searchParams.get("id");
    $.ajax({
        url: Host + '/api/information?id=' + t_id,
      type: "get",
      data: null,
      success: function (msg, data) {
        jQuery("#i_id").text(msg.data.id);
        jQuery("#i_status").text(getStatus(msg.data.status));
        jQuery("#i_type").text(getInformationType(msg.data.type));
        jQuery("#i_title").text(msg.data.title);
        jQuery("#i_content").text(msg.data.content);
        jQuery("#i_created_date").text(getDateStr(msg.data.created_date));
        if(msg.data.response != null){
            jQuery("#i_response").text(msg.data.response);
            jQuery("#i_conductor").text(msg.data.conductor);
            jQuery("#i_response_date").text(getDateStr(msg.data.response_date));
        }
      }
    });

</script>

</html>